Oops, allow compile 2.6.13-rebased with CONFIG_SMP (one small fix)
authordjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>
Thu, 1 Sep 2005 21:28:28 +0000 (15:28 -0600)
committerdjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>
Thu, 1 Sep 2005 21:28:28 +0000 (15:28 -0600)
xen/include/asm-ia64/xensystem.h

index 07958f6869e50c43b3b35673509845c129b3edc8..3cbb3c34a5c7d02b56ef2ce016c3aabd5d843e2d 100644 (file)
@@ -71,6 +71,10 @@ extern struct task_struct *vmx_ia64_switch_to (void *next_task);
 } while (0)
 #endif // CONFIG_VTI
 
+#undef switch_to
+// FIXME SMP... see system.h, does this need to be different?
+#define switch_to(prev,next,last)      __switch_to(prev, next, last)
+
 #define __cmpxchg_user(ptr, new, old, _size)                           \
 ({                                                                     \
        register long __gu_r8 asm ("r8");                               \